package data_class

//data Class
data class User(val name: String, val id: Int)

fun getUser(): User {
    return User("nick", 1)
}

fun main(args: Array<String>) {
    val user = getUser()
    println("name=${user.name} id=${user.id}")

    val (ppp, sad) = getUser()

    println("name=$ppp id=$sad")

}